package com.cade.agriculturemall.view.personalCenter.ordersManage.OrderItems;

import com.cade.agriculturemall.base.IBasePresenter;
import com.cade.agriculturemall.base.IBaseView;
import com.cade.agriculturemall.model.OrderEntity;
import com.cade.agriculturemall.model.ShoppingCarsEntity;

import java.util.List;

/**
 * Created by Lobby on 2018/1/6.
 */

public interface OrderContract {
    interface IView extends IBaseView {
        void getPro(List<OrderEntity> orderList, List<ShoppingCarsEntity> list);

        void  showDialog();

        void deleteSuccess();

        void deleteFail();
    }

    interface IPresenter extends IBasePresenter {
        void downLoadOrderInfo(final String dealId, final String orderId);

        void goodsDelete(final OrderEntity orderEntity);

    }
}
